package com.fanqiechaodan.responsibilitychain;

import lombok.Data;

/**
 * @author fanqiechaodan
 * @Classname Hanlder
 * @Description 抽象处理类
 */
@Data
public abstract class Handler {

    protected Handler nextHandler;

    /**
     * 处理请求的方法
     *
     * @param request
     */
    public abstract void handle(Request request);
}
